<%@ page language="java" import="control.database.*" pageEncoding="gb2312"%>

<%
session.setAttribute("realname",(new String(request.getParameter("RealName").getBytes("ISO8859_1"))));
session.setAttribute("employee",(new String(request.getParameter("txtEmployee").getBytes("ISO8859_1"))));
session.setAttribute("address",(new String(request.getParameter("Address").getBytes("ISO8859_1"))));
session.setAttribute("telephone",(new String(request.getParameter("Telephone").getBytes("ISO8859_1"))));
session.setAttribute("sex",(new String(request.getParameter("rblSex").getBytes("ISO8859_1"))));

try
{
System.out.println("00000");
//out.println(request.getParameter("txtDptno"));
response.sendRedirect("result.jsp");
}
catch(Exception e)
{
	response.sendRedirect("success_failse.jsp?flag=0");
}
%>

